﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="test2.aspx.cs" Inherits="test2_page" %>
<%@ Register Assembly="TVControls" Namespace="Microsoft.TV.TVControls" TagPrefix="mrml" %>
<%@ Register assembly="TVControls" namespace="Microsoft.TV.TVControls.Actions" TagPrefix="mrml" %>
<%@ Register assembly="TVControls" namespace="Microsoft.TV.TVControls.Animations" TagPrefix="mrml" %>
<body>
<mrml:TVPage ID="TVPage1" runat="server" style="position:absolute;">
        <mrml:TVPhysicsTable ID="_grid" runat="server" Style="position: absolute; top: 120;
        left: 110; height: 321px; width: 456px;" AutoFlow="Horizontal" 
        ElementWidth="228" Padding="rect(0,0,0,24)" AlignCursors="Slide" DataSourceSemantics="Flat">
        <mrml:TVPhysicsRowTemplate ID="TVPhysicsRowTemplate1" runat="server" AutoFlow="Horizontal"
            ElementHeight="36" ElementWidth="225" HeaderTemplate="header" Style="position: absolute;
            top: 45; left: 0; width: 225px; height: 0px;" TemplateName="Row">
            <mrml:TVPhysicsCursor ID="TVPhysicsCursor1" runat="server" Background="" Style="position: absolute;
                width: 225px; height: 33px;" StyleClass="Button.Menu">
            </mrml:TVPhysicsCursor>
            <mrml:TVPhysicsTemplate ID="TVPhysicsTemplate1" runat="server" Style="position: absolute;
                height: 33px; width: 225px;" TemplateName="Entry" StyleClass="Button.Menu" RenderDepth="Both"
                FontStyle="Reg20" ClipChildren="true" Text="testttt" OnClick="Test.Click" FocusBackground="">
                <mrml:TVActions ID="TVActions1" runat="server">
                    <mrml:NavigateAction Name="Test.Click" Data="test url" />
                </mrml:TVActions>
            </mrml:TVPhysicsTemplate>
        </mrml:TVPhysicsRowTemplate>
        <mrml:TVPhysicsTemplate ID="TVPhysicsTemplate2" runat="server" Style="position: absolute;
            top: -10px; left: 0px; width: 495px; height: 69px;" TemplateName="header" Foreground="ARGB(92,147,176,203)"
            RenderDepth="background" FontStyle="Bold39" Text="$(@title)">
            <mrml:TVPhysicsTemplate ID="TVPhysicsTemplate3" runat="server" Style="position: absolute;
                top: 21; left: 203; height: 21; width: 21;" Background="image(file:///Arrow_Scroll_Up.png)">
            </mrml:TVPhysicsTemplate>
            <mrml:TVPhysicsTemplate ID="TVPhysicsTemplate4" runat="server" Style="position: absolute;
                top: 300; left: 203; height: 21; width: 21;" Background="image(file:///Arrow_Scroll_Down.png)">
            </mrml:TVPhysicsTemplate>
        </mrml:TVPhysicsTemplate>
    </mrml:TVPhysicsTable>

</mrml:TVPage>

</body>